{* Template Name:首页及列表页 *}
<!DOCTYPE html>
<html lang="{$lang['lang_bcp47']}">
<head>
  {template:header}
</head>
<body class="multi {$type}">
  <div class="container">
    <!-- 导航 -->
    <div class="header">
      <div class="blogName">
        <a href="{$host}">
          {$name}
        </a>
      </div>
      <div id="nav">
        <ul style="display:none">
        {module:navbar}
        </ul>
      </div>
    </div>
    <!-- banner -->
    <div class="banner">
      <div class="cont">
        <div class="title">
            <h3>{$name}</h3>
            <h4>{$subname}</h4>
        </div>
      </div>
    </div>
    <!-- 首页及列表 -->
    <div class="content">
      <div class="cont w1000">
        <div class="list-item">
          {foreach $articles as $article}
            {if $article.TopType}
            {template:post-istop}
            {else}
            {template:post-multi}
            {/if}
            {/foreach}
        </div>
        <div class="pagebar">{template:pagebar}</div>
      </div>
    </div>
    <div class="footer">
      {template:footer}
    </div>
  </div>
</body>

</html>